﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200147B RID: 5243
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TrialBackGroundMusicScRsp : IMessage<TrialBackGroundMusicScRsp>, IMessage, IEquatable<TrialBackGroundMusicScRsp>, IDeepCloneable<TrialBackGroundMusicScRsp>, IBufferMessage
	{
		// Token: 0x17004210 RID: 16912
		// (get) Token: 0x0600EA90 RID: 60048 RVA: 0x002733D1 File Offset: 0x002715D1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TrialBackGroundMusicScRsp> Parser
		{
			get
			{
				return TrialBackGroundMusicScRsp._parser;
			}
		}

		// Token: 0x17004211 RID: 16913
		// (get) Token: 0x0600EA91 RID: 60049 RVA: 0x002733D8 File Offset: 0x002715D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TrialBackGroundMusicScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17004212 RID: 16914
		// (get) Token: 0x0600EA92 RID: 60050 RVA: 0x002733EA File Offset: 0x002715EA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TrialBackGroundMusicScRsp.Descriptor;
			}
		}

		// Token: 0x0600EA93 RID: 60051 RVA: 0x002733F1 File Offset: 0x002715F1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrialBackGroundMusicScRsp()
		{
		}

		// Token: 0x0600EA94 RID: 60052 RVA: 0x002733F9 File Offset: 0x002715F9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrialBackGroundMusicScRsp(TrialBackGroundMusicScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.dHBECIKJPPJ_ = other.dHBECIKJPPJ_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600EA95 RID: 60053 RVA: 0x0027342A File Offset: 0x0027162A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrialBackGroundMusicScRsp Clone()
		{
			return new TrialBackGroundMusicScRsp(this);
		}

		// Token: 0x17004213 RID: 16915
		// (get) Token: 0x0600EA96 RID: 60054 RVA: 0x00273432 File Offset: 0x00271632
		// (set) Token: 0x0600EA97 RID: 60055 RVA: 0x0027343A File Offset: 0x0027163A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17004214 RID: 16916
		// (get) Token: 0x0600EA98 RID: 60056 RVA: 0x00273443 File Offset: 0x00271643
		// (set) Token: 0x0600EA99 RID: 60057 RVA: 0x0027344B File Offset: 0x0027164B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DHBECIKJPPJ
		{
			get
			{
				return this.dHBECIKJPPJ_;
			}
			set
			{
				this.dHBECIKJPPJ_ = value;
			}
		}

		// Token: 0x0600EA9A RID: 60058 RVA: 0x00273454 File Offset: 0x00271654
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TrialBackGroundMusicScRsp);
		}

		// Token: 0x0600EA9B RID: 60059 RVA: 0x00273462 File Offset: 0x00271662
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TrialBackGroundMusicScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.DHBECIKJPPJ == other.DHBECIKJPPJ && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600EA9C RID: 60060 RVA: 0x002734A0 File Offset: 0x002716A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.DHBECIKJPPJ != 0U)
			{
				num ^= this.DHBECIKJPPJ.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600EA9D RID: 60061 RVA: 0x002734F8 File Offset: 0x002716F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600EA9E RID: 60062 RVA: 0x00273500 File Offset: 0x00271700
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600EA9F RID: 60063 RVA: 0x0027350C File Offset: 0x0027170C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.Retcode);
			}
			if (this.DHBECIKJPPJ != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.DHBECIKJPPJ);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600EAA0 RID: 60064 RVA: 0x00273568 File Offset: 0x00271768
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.DHBECIKJPPJ != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DHBECIKJPPJ);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600EAA1 RID: 60065 RVA: 0x002735C0 File Offset: 0x002717C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TrialBackGroundMusicScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.DHBECIKJPPJ != 0U)
			{
				this.DHBECIKJPPJ = other.DHBECIKJPPJ;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600EAA2 RID: 60066 RVA: 0x00273610 File Offset: 0x00271810
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600EAA3 RID: 60067 RVA: 0x0027361C File Offset: 0x0027181C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 104U)
				{
					if (num != 112U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.DHBECIKJPPJ = input.ReadUInt32();
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005CE6 RID: 23782
		private static readonly MessageParser<TrialBackGroundMusicScRsp> _parser = new MessageParser<TrialBackGroundMusicScRsp>(() => new TrialBackGroundMusicScRsp());

		// Token: 0x04005CE7 RID: 23783
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005CE8 RID: 23784
		public const int RetcodeFieldNumber = 13;

		// Token: 0x04005CE9 RID: 23785
		private uint retcode_;

		// Token: 0x04005CEA RID: 23786
		public const int DHBECIKJPPJFieldNumber = 14;

		// Token: 0x04005CEB RID: 23787
		private uint dHBECIKJPPJ_;
	}
}
